package com.dataseek.iot.core.enums;

import lombok.Data;

/**
 * @author cc
 * @Title: 信号分类
 * @Description: 信号分类
 * @date 2021/9/266:13 下午
 * @since 1.0
 */
public enum SignalType {

    Analog("analog", "模拟信号", "0"), Digital("digital", "离散信号", "1");

    private String code;
    private String name;
    private String index;

    SignalType(String code, String name, String index) {
        this.code = code;
        this.name = name;
        this.index = index;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIndex() {
        return index;
    }

    public void setIndex(String index) {
        this.index = index;
    }
}
